package com.atguigu.edu.realtime220815.bean;

import com.atguigu.edu.realtime220815.app.func.TransientSink;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import java.util.Set;

/**
 * @Author: rym
 * @Description: TODO
 * @DateTime: 2023/2/19 16:20
 **/
@Data
@AllArgsConstructor
@Builder
//{"id":"31841","order_id":"29530","user_id":"100","course_id":"406","course_name":"大数据技术之Hive（2020版）",
// "final_amount":"200.0","province_id":"3","date_id":"2023-02-19","create_time":"2023-02-19 16:14:37","ts":"1676794476"}

public class TradeProvinceOrderBean {
    String stt;
    String edt;
    String provinceId;
    @Builder.Default
    String provinceName = "";
    //订单总金额
    Double amount;
    //下单次数
    Long count_order;
    //setuid
    @TransientSink
    Set<String> setUid;
    //下单总人数
    Long count_people;
    Long ts;
}
